package com.cloud.gateway;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient
public class GatewayApplication {

    private static Logger logger = LoggerFactory.getLogger(GatewayApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
        logger.info("|-------------------------------------------------------------------------------------------------|");
        logger.info("|-----------------------------                                         ---------------------------|");
        logger.info("|<--------------- ღ( ´･ᴗ･` ) |         gateway system start success      | ( ´･ᴗ･` )ღ--------------->|");
        logger.info("|<--------------- ღ( ´･ᴗ･` ) |             路 由 服 务 启 动 完 毕         | ( ´･ᴗ･` )ღ--------------->|");
        logger.info("|-----------------------------                                         ---------------------------|");
        logger.info("|-------------------------------------------------------------------------------------------------|");
    }

}
